package test.tftp;



/**
 *
 * @author Administrator
 */
public class Main {
    
    /** Creates a new instance of Main */
    public Main() {
    }
    
    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws Exception {
        // TODO code application logic here
        TftpServerAgent tftp_srv = new TftpServerAgent();
        tftp_srv.setDaemon(true);
        tftp_srv.start();
        
        tftp_srv.join();    //暂时先这么处理吧
//        byte[] buf = new byte[10];
//        byte b;
//        while (true) {
//            System.out.print(System.in.read());
//        }

    }
    
    //show the administrator's menu
    public void ShowMenu() {
        //String menu[] = new String[];
    }
}
